package licode.unisop.types.util;

/**
 * 操作字符串
 *
 * @author WR
 * @since 2016/7/9 17:26
 */
public class AuStrUtil {
    public static String getContent(String str, int maxSize) {
        if (null == str) {
            return "";
        } else if (str.length() >= maxSize) {
            return str.substring(0, maxSize);
        }
        return str;
    }
}
